package io.hxci.modules.tea.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 专著和主编教材
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tea_treatise")
public class TeaTreatise {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "user_id")
    private Long userId;

    /**
     * 名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * ISBN
     */
    @TableField(value = "isbn")
    private String isbn;

    /**
     * 类别Id
     */
    @TableField(value = "kind_id")
    private Integer kindId;

    /**
     * 出版社
     */
    @TableField(value = "press")
    private String press;

    /**
     * 出版时间
     */
    @TableField(value = "time")
    private String time;
    /**
     * 创建时间
     */
    @TableField(value = "created")
    private String created;
    /**
     * 修改时间
     */
    @TableField(value = "last_update_time")
    private String lastUpdateTime;

    @TableField(exist=false)
    private String num;
    @TableField(exist=false)
    private String username;
    @TableField(exist=false)
    private String deptname;

    @TableField(exist=false)
    private String kindName;
}